// FA_LCollection_BPA.cpp: implementation of the CFA_LCollection_BPA class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "../../Include/Swi/FA_LCollection_BPA.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CFA_LCollection_BPA::CFA_LCollection_BPA()
{

}

CFA_LCollection_BPA::~CFA_LCollection_BPA()
{

}

CFA_L_BPA* CFA_LCollection_BPA::GetFirstFA_L()
{
	return (CFA_L_BPA*)CCardCollection_BPA::GetFirstCard();
}

CFA_L_BPA* CFA_LCollection_BPA::Traverse(CFA_L_BPA *pFAL, int nDirection)
{
	return (CFA_L_BPA*)CCardCollection_BPA::Traverse(pFAL,nDirection);
}

CFA_L_BPA* CFA_LCollection_BPA::GetFA_L(char *strBusName, double dkV, char nID)
{
	CFA_L_BPA tempFAL;
	strcpy(tempFAL.m_strName,strBusName);
	tempFAL.m_dkV = dkV;
	tempFAL.m_chID = nID;
	return (CFA_L_BPA*)CCardCollection_BPA::GetCard(&tempFAL);
}
